package com.link.base.base.consumer.service;

import com.link.base.base.consumer.model.PortalAccntTagGroup;
import com.link.core.basic.service.BasicService;

import java.util.List;
/**
 * 客户标签组
 * @author  yipeng.zhu@hand-china.com
 * @date:   2018/11/5 16:29
 * @version 1.0
 */

public interface PortalAccntTagGroupService extends BasicService<PortalAccntTagGroup> {

    /**
     * 标签生效
     *
     * @param record
     * @throws  Exception
     */

    void groupTagApproveUpdate(PortalAccntTagGroup record) throws Exception;

    /**
     * 标签失效
     *
     * @param record
     * @throws  Exception
     */

    void groupTagRejectUpdate(PortalAccntTagGroup record) throws Exception;

    /**
     * 查询所有一级标签
     * @return
     */
    List<String> queryFstTags(PortalAccntTagGroup record);
}
